/*
枚举类型的使用
*/

#include<stdio.h>

enum COLOR{
	RED,BLUE,GREEN,BLACK
	};
int main(){
	
	enum COLOR c = BLACK;
	printf("c = %d\n",c);
	c = 10;
	printf("c = %d \n",c);
	return 0;
	}
